package com.google.protobuf
{
	public class MethodDescriptor
	{
		private var _name:String;
		private var _index:int;
		private var _input_type:String;
		private var _output_type:String;
		private var _service:ServiceDescriptor;
		
		public function get name():String{return _name;}
		public function get index():int{return _index;}
		public function get service():ServiceDescriptor{return _service;}
		
		public function get input_type():String{ return _input_type;}
		public function get output_type():String{ return _output_type;}
		
		public function MethodDescriptor(name:String, service:ServiceDescriptor,index:int,input:String,output:String) 
		{
			this._name = name;
			this._service = service;
			this._index = index;
			
			this._input_type= input;
			this._output_type = output;
		}
	}
}